<%--
  Created by IntelliJ IDEA.
  User: root
  Date: 2021/4/7
  Time: 14:37
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<table border="1" cellspacing="0" cellpadding="0" width="100%">
    <tr>
        <th>序号</th>
        <th>文件名称</th>
        <th>图片</th>
        <th>操作</th>
    </tr>

    <c:forEach items="${fileList}" var="file" varStatus="stat">
        <tr>
            <td>${stat.count}</td>
            <td>${file.getName()}</td>
            <td>

                <img src="http://localhost:8080/ud/d1?path=${file.getName()}" />
                <img src="http://localhost:8080/ud/d2?path=${file.getName()}" />
                <img src="http://localhost:8080/ud/down/${file.getName()}" />
            </td>
            <td>

                <a href="http://localhost:8080/ud/d1?path=${file.getName()}">下载1</a> &nbsp;&nbsp;&nbsp;&nbsp;
                <a href="http://localhost:8080/ud/d2?path=${file.getName()}">下载2</a> &nbsp;&nbsp;&nbsp;&nbsp;
                <a href="http://localhost:8080/ud/down/${file.getName()}">下载3</a>


            </td>
        </tr>

    </c:forEach>

</table>

</body>
</html>